/*
 * Created by LiuYou on 2020/11/27.
 *
 */

#include <iostream>
#include "computer/GraphicsCard.hpp"
#include "computer/Computer.hpp"

int main() {
    std::cout << "==================== pc-namespace-2 ====================" << std::endl;
    std::cout << "\nGraphicsCard Test" << std::endl;
    GraphicsCard_::GraphicsCard graphicsCard(400, "render渲染效果优秀！vs");
    std::cout << graphicsCard << std::endl;
    std::cout << graphicsCard.getGraphicsCardId() << " " << graphicsCard.getGraphicsCardFeature() << std::endl;

    std::cout << "\nComputer Test" << std::endl;
    Computer_::Computer computer(graphicsCard);
    std::cout << computer << std::endl;
    std::cout << computer.getGraphicsCard() << std::endl;


    return 0;
}